package com.comba.nutz.boot.starter.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * @author lizhiyong1
 */
@Data
@ConfigurationProperties(prefix = "spring.datasource")
public class DynamicDataSourceProperties {

    private DataSourceProperties defaultDataSource;

    private Map<String, DataSourceProperties> targetDataSources;
}
